package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.OrderDetail;
import com.itheima.bean.Orders;
import com.itheima.bean.User;
import com.itheima.common.pageParm;
import com.itheima.dto.OrdersDto;

public interface OrderService {

    int submit(Orders orders, User user);


    IPage<OrdersDto> userPage(pageParm pageParm);

    IPage<Orders> findPage(pageParm pageParm);
}
